﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Edituserdetails.aspx.cs" Inherits="SchoolAdministration.Edituserdetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <style type="text/css">
        .fieldvalidator
        {
            padding-left:40px; color:red;
        }
          .checkbox
          {
              margin-left:190px;
              padding-right:20px;
              float:left;
          }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">
    <h3 class="page-title">Edit User Details</h3>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="breadcrum" runat="server">
    <ul class="breadcrumb">
        <li><a href="#">School Administrator</a><span class="divider">/</span></li>
        <li><a href="#">Student Manangement</a><span class="divider">/</span></li>
        <li class="active">Manage User</li>                      
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainchangingpart" runat="server">
    <div class="widget yellow" />
        <div class="widget-title">
            <h4>Add/ Create Users</h4>
            <span class="tools">
            <a href="javascript:;" class="icon-chevron-down"></a>
            <a href="javascript:;" class="icon-remove"></a>
            </span>
         </div>
         <div class="widget-body">
              <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >User Id</label>
             <asp:TextBox ID="TXTUserId" CssClass="text large required"  runat="server"></asp:TextBox>
             <br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >UserName</label>
             <asp:TextBox ID="TxtUserName" CssClass="text large required"  runat="server"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="EditUser" ErrorMessage="Required" ControlToValidate="TxtUserName" CssClass="fieldvalidator"></asp:RequiredFieldValidator>
              <br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >FirstName</label>
             <asp:TextBox ID="TxtFirstName" CssClass="text large required" runat="server"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ValidationGroup="EditUser"  CssClass="fieldvalidator" runat="server" ControlToValidate="TxtFirstName" ErrorMessage="Required"></asp:RequiredFieldValidator>
               <br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >LastName</label>
             <asp:TextBox ID="TxtLastName" CssClass="text large required" runat="server"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="EditUser"  CssClass="fieldvalidator" runat="server" ErrorMessage="Required" ControlToValidate="TxtLastName"></asp:RequiredFieldValidator><br />     
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >E-Mail</label>
             <asp:TextBox ID="TxtEMail" CssClass="text large required" runat="server"></asp:TextBox>
             <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ValidationGroup="EditUser" runat="server" ErrorMessage="Enter Valid email address"  CssClass="fieldvalidator"  ValidationExpression="[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?" ControlToValidate="TxtEMail"></asp:RegularExpressionValidator><br />
             <label style="width:150px; padding-right:20px; float:left; font-size:16px;" >Role Type</label>
                   <asp:DropDownList ID="DropRoleId" runat="server">
                       </asp:DropDownList>
                   
                     <br />
                   <asp:CheckBox ID="CkBoxUserId" CssClass="checkbox" runat="server" /> <label> Is Active</label>    
 
             <asp:Button ID="BtnEditSubject" CssClass="submit" runat="server" Text="Save" OnClick="Button1_Click" ValidationGroup="EditUser"/>  
        
     </div>
     <asp:Label ID="MsgDisplaylbl" runat="server" Text="Label"></asp:Label> 	
</asp:Content>

